package org.nnuer.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PrepareMapper{
    // 查询某项目的前置项目 id 列表
    @Select("SELECT pre_exam_id FROM prepare WHERE exam_id = #{examId}")
    List<Long> listPreExamIds(@Param("examId") Long examId);
}